/** hero section **/
.hero {
    height: 100vh;
    color: var(--main);

    span {
        backdrop-filter: blur(15px);
    }

    h1 {
        font-size: 64px;
        letter-spacing: -0.5px;
        font-weight: 400;
    }
    p {
        font-size: 20px;
        font-weight: 300;
        font-style: light;
        letter-spacing: -0.5px;
        width: 80%;
        margin: 0 auto;
    }

    .buttons button:first-child {
        background-color: var(--sec);
        color: var(--third);
        border: none;
        border-radius: 5px;
        font-size: 16px;
        cursor: pointer;
        padding: 12px 24px;
    }
    .buttons button:last-child {
        background-color: transparent;
        color: var(--main);
        border: 1px solid var(--main);
        border-radius: 5px;
        font-size: 16px;
        cursor: pointer;
        padding: 12px 24px;
    }
}

/* ===================== */
/* Tablet (768px - 1024px)
/* ===================== */
@media (max-width: 1024px) {
    .hero {
        h2 {
            font-size: 48px;
        }

        p {
            font-size: 18px;
            width: 90%;
        }

        .buttons button {
            font-size: 15px;
            padding: 10px 20px;
        }
    }
}

/* ===================== */
/* Mobile (<= 768px)
/* ===================== */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding: 20px;

        h2 {
            font-size: 34px;
            line-height: 1.2;
        }

        p {
            font-size: 16px;
            width: 100%;
        }

        .buttons {
            display: flex;
            flex-direction: column;
            gap: 10px;
            align-items: center;
        }

        .buttons button {
            width: 80%;
            font-size: 14px;
        }
    }
}

/* ===================== */
/* Small Mobile (<= 480px)
/* ===================== */
@media (max-width: 480px) {
    .hero {
        h2 {
            font-size: 26px;
        }

        p {
            font-size: 14px;
        }

        .buttons button {
            width: 100%;
        }
    }
}

.hero .layer {
    background: linear-gradient(to bottom, #fdbf0e, black 40%);
    opacity: 0.4;
}

/** our-service Section **/

.our-service {
    color: var(--third);
    /* background-color: red; */

    .header {
        margin: 0 auto;
        span {
            padding: 7px 9px;
            background-color: var(--sec);
            color: var(--main);
            letter-spacing: -0.5px;
        }
        h2 {
            font-size: 48px;
            font-weight: 300;
            letter-spacing: -0.5px;
        }
    }

    .items {
        .item {
            h3 {
                font-size: 32px;
                font-weight: 400;
                letter-spacing: -0.5px;
            }

            p {
                font-size: 18px;
                font-weight: 300;
                letter-spacing: -0.5px;
            }
        }
    }
}

/* ===================== */
/* Tablet */
/* ===================== */
@media (max-width: 1024px) {
    .our-service {
        .header {
            width: 90%;

            h2 {
                font-size: 36px;
            }
        }

        .items {
            .item {
                h3 {
                    font-size: 26px;
                }

                p {
                    font-size: 16px;
                }
            }
        }
    }
}

/* ===================== */
/* Mobile */
/* ===================== */
@media (max-width: 768px) {
    .our-service {
        .header {
            width: 100%;
            text-align: center;

            h2 {
                font-size: 24px;
                line-height: 1.4;
            }

            span {
                font-size: 12px;
            }
        }

        .items {
            .item {
                text-align: center;

                h3 {
                    font-size: 20px;
                }

                p {
                    font-size: 14px;
                }
            }
        }
    }
}

/* ===================== */
/* Small Mobile */
/* ===================== */
@media (max-width: 480px) {
    .our-service {
        .header {
            h2 {
                font-size: 20px;
            }
        }

        .items {
            .item {
                h3 {
                    font-size: 18px;
                }

                p {
                    font-size: 13px;
                }
            }
        }
    }
}

/** our-products Section **/

.ourProducts {
    /* background-color: var(--third); */
    .ourProductsSwiper {
        background-color: var(--third);
        width: 100%;
        padding: 60px 0;
        height: auto;

        .swiper-wrapper {
            /* background-color: red !important; */
            height: auto;
            .swiper-slide {
                width: 320px;
                height: 420px;
                border-radius: 16px;
                overflow: hidden;
                transition: 0.4s;
            }
        }

        .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* يخلي اللي في النص أوضح */
        .swiper-slide-active {
            transform: scale(1.05);
        }
    }
    .header {
        span {
            padding: 7px 9px;
            background-color: var(--sec);
            color: var(--third);
            letter-spacing: -0.5px;
            font-weight: 400;
            font-size: 16px;
        }
        h2 {
            font-size: 40px;
            font-weight: 400;
            letter-spacing: -0.5px;
            color: var(--main);
        }
    }

    @media (max-width: 1024px) {
        .header h2 {
            font-size: 32px;
        }
    }

    /* Small tablets / large phones */
    @media (max-width: 768px) {
        .header h2 {
            font-size: 26px;
        }
    }

    /* Mobile */
    @media (max-width: 480px) {
        .header h2 {
            font-size: 20px;
            line-height: 1.4;
        }
    }

    .cards {
        .qu-card {
            padding: 16px 0;

            span {
                padding: 14.5px 27px;
                border: var(--sec) solid 1px;
                color: var(--sec);
                background-color: #fde0885e;
                font-weight: 700;
                font-size: 16px;
                letter-spacing: -0.5px;
            }
            h3 {
                color: var(--third);
                font-weight: 400;
                font-size: 32px;
                letter-spacing: -0.5px;
                margin-top: 24px;
            }
            p {
                color: var(--third);
                font-weight: 300;
                font-size: 16px;
                letter-spacing: -0.5px;
            }
        }
        .card {
            padding: 15px;
            transition-duration: 0.3s;
            overflow: hidden;
            position: relative;
            span {
                color: var(--sec);
                font-weight: 400;
                font-size: 66.95px;
                letter-spacing: -1.39px;
            }
            h3 {
                color: var(--third);
                font-weight: 400;
                font-size: 32px;
                letter-spacing: -0.5px;
                transition-duration: 0.3s;
            }
            p {
                color: var(--third);
                font-weight: 300;
                font-size: 16px;
                letter-spacing: -0.5px;
                transition-duration: 0.3s;
            }
        }

        .card:hover {
            background-color: var(--sec);
        }
        .card:hover .fa-circle{
                color: var(--main);
            }
        .card:hover span,
        .card:hover h3,
        .card:hover p {
            color: var(--main);
        }

        /* .card::after {
            position: absolute;
            content: "";
            top: 40px;
            right: 40px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: solid 3px var(--sec);
            transition-duration: 0.3s;
        }
        .card:hover::after {
            border: solid 3px var(--main);
        } */
        /* موبايل صغير */
        @media (max-width: 640px) {
            .cards .qu-card h3,
            .cards .card h3 {
                font-size: 22px;
            }

            .cards .qu-card p,
            .cards .card p {
                font-size: 14px;
            }

            .cards .card span {
                font-size: 40px;
                margin-left: -10px;
            }

            .cards .qu-card span {
                font-size: 14px;
                padding: 10px 18px;
            }
        }

        /* تابلت */
        @media (min-width: 641px) and (max-width: 1024px) {
            .cards .qu-card h3,
            .cards .card h3 {
                font-size: 26px;
            }

            .cards .qu-card p,
            .cards .card p {
                font-size: 15px;
            }

            .cards .card span {
                font-size: 55px;
                margin-left: -20px;
            }
        }

        /* شاشات كبيرة */
        @media (min-width: 1025px) {
            .cards .qu-card h3,
            .cards .card h3 {
                font-size: 32px;
            }

            .cards .card span {
                font-size: 66.95px;
            }
        }
    }
}

/** FAQ Section **/
.faq {
    .header {
        span {
            padding: 7px 9px;
            background-color: var(--sec);
            color: var(--third);
            font-size: 18px;
            font-weight: 400;
            letter-spacing: -0.5;
        }
        p {
            font-size: 24px;
            font-weight: 300;
            letter-spacing: -0.5;
            width: 50%;
            margin: 25px 0;
        }
    }

    /* موبايل */
    @media (max-width: 640px) {
        .header span {
            font-size: 14px;
            padding: 5px 8px;
        }

        .header p {
            font-size: 16px;
            width: 100%;
            margin: 15px 0;
        }
    }

    /* تابلت */
    @media (min-width: 641px) and (max-width: 1024px) {
        .header span {
            font-size: 16px;
        }

        .header p {
            font-size: 20px;
            width: 80%;
        }
    }

    /* ديسكتوب */
    @media (min-width: 1025px) {
        .header span {
            font-size: 18px;
        }

        .header p {
            font-size: 24px;
            width: 50%;
        }
    }
    .message-box {
        background-color: var(--third);
        color: var(--main);
        padding: 80px 60px;

        span {
            font-weight: 400;
            font-size: 24px;
            letter-spacing: -0.5px;
            position: relative;
            margin-right: 50px;
        }
        p {
            font-weight: 200;
            font-size: 24px;
            letter-spacing: -0.5px;
        }

        button {
            font-size: 35px;
            font-weight: 300;
        }

        span::after {
            position: absolute;
            content: "";
            top: 50%;
            transform: translateY(-50%);
            right: -50px;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            border: 3px solid var(--main);
            /* background-color: red; */
        }
    }

    /* موبايل */
    @media (max-width: 640px) {
        .message-box {
            padding: 30px 20px;
        }

        .message-box span {
            font-size: 16px;
            margin-right: 25px;
        }

        .message-box p {
            font-size: 14px;
        }

        .message-box button {
            font-size: 24px;
        }

        .message-box span::after {
            right: -25px;
            width: 15px;
            height: 15px;
            border-width: 2px;
        }
    }

    /* تابلت */
    @media (min-width: 641px) and (max-width: 1024px) {
        .message-box {
            padding: 50px 40px;
        }

        .message-box span {
            font-size: 20px;
            margin-right: 35px;
        }

        .message-box p {
            font-size: 18px;
        }

        .message-box button {
            font-size: 28px;
        }

        .message-box span::after {
            right: -35px;
            width: 20px;
            height: 20px;
        }
    }

    /* ديسكتوب */
    @media (min-width: 1025px) {
        .message-box span {
            font-size: 24px;
        }

        .message-box p {
            font-size: 24px;
        }

        .message-box button {
            font-size: 35px;
        }
    }

    .questions {
        span {
            color: var(--third);
            font-size: 24px;
            font-weight: 400;
            letter-spacing: -0.5;
        }

        i {
            color: var(--sec);
            font-size: 22px;
        }

        .answer {
            background-color: var(--third);

            span {
                color: var(--main) !important;
                font-weight: 300;
                font-size: 20px;
                letter-spacing: -0.5;
            }
        }

        .active-box {
            background-color: black;
            color: white;
            border-radius: 10px;
        }

        .active-box span {
            color: white;
        }

        .active-box i {
            color: white;
        }
    }
    /* موبايل */
    @media (max-width: 640px) {
        .questions span {
            font-size: 16px;
        }

        .questions i {
            font-size: 18px;
        }

        .questions .answer span {
            font-size: 14px;
        }

        .questions-box {
            padding: 15px !important;
        }

        .questions .answer {
            margin-top: 10px;
        }
    }

    /* تابلت */
    @media (min-width: 641px) and (max-width: 1024px) {
        .questions span {
            font-size: 20px;
        }

        .questions i {
            font-size: 20px;
        }

        .questions .answer span {
            font-size: 18px;
        }
    }

    /* ديسكتوب  */
    @media (min-width: 1025px) {
        .questions span {
            font-size: 24px;
        }

        .questions .answer span {
            font-size: 20px;
        }
    }
}

/** latest-technical Section **/
.latest-technical {
    .header {
        width: 50%;
        margin: auto;
        text-align: center;
        padding: 32px;

        h2 {
            font-weight: 400;
            font-size: 48px;
            letter-spacing: -0.5px;
            color: var(--third);
        }
        p {
            font-weight: 300;
            font-size: 16px;
            letter-spacing: -0.5px;
            color: var(--third);
            margin-top: 24px;
            margin-bottom: 40px;
        }
    }

    /* موبايل */
    @media (max-width: 640px) {
        .header {
            width: 100%;
            padding: 20px;
        }

        .header h2 {
            font-size: 24px;
        }

        .header p {
            font-size: 14px;
            margin-top: 16px;
            margin-bottom: 24px;
        }
    }

    /* تابلت */
    @media (min-width: 641px) and (max-width: 1024px) {
        .header {
            width: 80%;
            padding: 24px;
        }

        .header h2 {
            font-size: 34px;
        }

        .header p {
            font-size: 15px;
        }
    }

    /* ديسكتوب */
    @media (min-width: 1025px) {
        .header {
            width: 50%;
        }

        .header h2 {
            font-size: 48px;
        }

        .header p {
            font-size: 16px;
        }
    }

    .cards {
        .card {
            h3 {
                font-weight: 400;
                font-size: 20px;
                letter-spacing: -0.5px;
                color: var(--third);
            }
            p {
                font-weight: 300;
                font-size: 14px;
                letter-spacing: -0.5px;
                color: var(--third);
            }
            span {
                font-weight: 400;
                font-size: 12px;
                letter-spacing: -0.5px;
                color: var(--sec);
            }
        }
    }

    /* موبايل */
    @media (max-width: 640px) {
        .cards .card h3 {
            font-size: 16px;
        }

        .cards .card p {
            font-size: 13px;
        }

        .cards .card span {
            font-size: 11px;
        }

        .cards .card img {
            height: 180px;
        }
    }

    /* تابلت */
    @media (min-width: 641px) and (max-width: 1024px) {
        .cards .card h3 {
            font-size: 18px;
        }

        .cards .card p {
            font-size: 14px;
        }

        .cards .card span {
            font-size: 12px;
        }

        .cards .card img {
            height: 220px;
        }
    }

    /* ديسكتوب */
    @media (min-width: 1025px) {
        .cards .card h3 {
            font-size: 20px;
        }

        .cards .card p {
            font-size: 14px;
        }

        .cards .card span {
            font-size: 12px;
        }

        .cards .card img {
            height: 260px;
        }
    }
}

/** customer-opinion Section **/

.customer-opinion {
    .header {
        text-align: center;
        margin-bottom: 40px;
        h2 {
            font-weight: 300;
            font-size: 48px;
            letter-spacing: -0.5px;
            color: var(--third);
        }
    }

    /* موبايل */
    @media (max-width: 640px) {
        .header {
            margin-bottom: 25px;
        }

        .header h2 {
            font-size: 24px;
        }
    }

    /* تابلت */
    @media (min-width: 641px) and (max-width: 1024px) {
        .header h2 {
            font-size: 34px;
        }
    }

    /* ديسكتوب */
    @media (min-width: 1025px) {
        .header h2 {
            font-size: 48px;
        }
    }

    .cards {
        .card {
            border: solid 1px #f4f4f4;
            .card-header {
                margin-bottom: 24px;
                h3 {
                    font-weight: 400;
                    font-size: 18px;
                    letter-spacing: -0.5px;
                    color: var(--third);
                }
                span {
                    font-weight: 300;
                    font-size: 12px;
                    letter-spacing: -0.5px;
                    color: #7e7e7e;
                }
            }
            .card-body {
                p {
                    font-weight: 400;
                    font-size: 16px;
                    letter-spacing: -0.5px;
                    color: var(--third);
                }
            }
        }

        /* موبايل */
        @media (max-width: 640px) {
            .card .card-header h3 {
                font-size: 16px;
            }

            .card .card-header span {
                font-size: 11px;
            }

            .card .card-body p {
                font-size: 13px;
                line-height: 1.6;
            }
        }

        /* تابلت */
        @media (min-width: 641px) and (max-width: 1024px) {
            .card .card-header h3 {
                font-size: 17px;
            }

            .card .card-header span {
                font-size: 12px;
            }

            .card .card-body p {
                font-size: 14px;
                line-height: 1.7;
            }
        }

        /* ديسكتوب */
        @media (min-width: 1025px) {
            .card .card-header h3 {
                font-size: 18px;
            }

            .card .card-header span {
                font-size: 12px;
            }

            .card .card-body p {
                font-size: 16px;
            }
        }
    }
}



    .card {
        transition-duration: .3s;
    }

    .card:hover {
        box-shadow: 0px 5px 40px rgba(128, 128, 128, 0.774);
        transform: translateY(-10px);
    }
